package com.lch.mebatis.v1;

import com.lch.mebatis.v1.bean.LchBlog;
import com.lch.mebatis.v1.mapper.BlogMapper;

/**
 * @author: liuchenhui
 * @create: 2019-05-09 22:11
 **/
public class MeBatisTest {
    public static void main(String[] args) {
        LchSqlSession lchSqlSession = new LchSqlSession(new LchConfiguration(), new LchExecutor());
        BlogMapper blogMapper = lchSqlSession.getMapper(BlogMapper.class);
        LchBlog lchBlog = blogMapper.selectBlogById(1);
    }
}
